package com.ean.backpack.dto;

import java.util.ArrayList;

public class SearchFormDTO {
	
	private String destination;
	private Integer roomCount;
	private String startDate;
	private String endDate;
	private ArrayList<SearchRoom> rooms = new ArrayList<SearchRoom>();
	

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public Integer getRoomCount() {
		return roomCount;
	}

	public void setRoomCount(Integer roomCount) {
		this.roomCount = roomCount;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public ArrayList<SearchRoom> getRooms() {
		return rooms;
	}

	public void setRooms(SearchRoom rooms) {
		this.rooms.add(rooms);
	}
	
	@Override
	public String toString() {
		return "SearchFormDTO [destination=" + destination + ", roomCount="
				+ roomCount + ", startDate=" + startDate + ", endDate="
				+ endDate + ", rooms=" + rooms.toString() + "]";
	}

}
